package com.twu.biblioteca;


public class Book extends Record {

    public Book(int id, String title, RecordState status) {
        super(id, title, status, RecordType.BOOK);
    }

    public boolean isAvailable() {
        return this.status == RecordState.AVAILABLE;
    }

    @Override
    public boolean isBook() {
        return true;
    }

    @Override
    public boolean isMovie() {
        return false;
    }

}

